<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PicturesList.ascx.cs" Inherits="UserControls_PicturesList" %>
<br />
<asp:Label ID="gallerylabel" runat="server" ForeColor="#CC9E2C" style="padding-left:10px"></asp:Label><br />
<br />
    <table style="font-size: 10pt; color: #cc9e2c">
    <tr>
    <td style="text-align: center">
    
    
   <!-- <asp:Panel runat="server" id="pnlPager" CssClass="pagination">  
     </asp:Panel> -->
        <asp:Label style="color:Silver" ID="pagingLabel" runat="server"  Visible="false"></asp:Label>
        &nbsp;&nbsp;
        <asp:HyperLink style="color:Silver" ID="previousLink" runat="server"  Visible="False">Poprzednie</asp:HyperLink>
        &nbsp;&nbsp;
        <asp:HyperLink style="color:Silver" ID="nextLink" runat="server" Visible="False">Nastepne</asp:HyperLink>
</td>
</tr>
<tr>
<td>
<asp:DataList ID="list" runat="server"   RepeatDirection="Horizontal" Enabled="false" Visible="false" RepeatColumns="4" >
    <ItemTemplate>
        <table cellpadding="0" align="left" style="font-size: 10pt; color: #cc9e2c">
            <tr height="105">
                <td align="center" width="110" style="padding:10px">
                    <a href='PhotoGallery/Sklep/Regular/<%# Eval("Image2FileName") %>' rel="lightbox[roadtrip]" title=' <%# Eval("Description") %>' >
                    <!-- <a href='PhotoGallery/Thumbs/<%# Eval("Image2FileName") %>' rel="lightbox[roadtrip]" > -->
                        <img alt="" width="140" src='PhotoGallery/Sklep/Thumbs/<%# Eval("Image1FileName") %>' border="0" 
                        style=" border: solid 2px Black;" />
                    </a>
                </td>

            </tr>
            <tr>
                <td colspan="2" valign="top" style="text-align:center">
                 <%# Eval("Name") %>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>

<asp:DataList ID="list2" runat="server"   RepeatDirection="Horizontal" Enabled="false" Visible="false" RepeatColumns="4">
    <ItemTemplate>
        <table cellpadding="0" align="left" style="font-size: 10pt; color: #cc9e2c">
            <tr height="105">
                <td align="center" width="110" style="padding:10px">
                    <a href='PhotoGallery/Klienci/Regular/<%# Eval("Image2FileName") %>' rel="lightbox[roadtrip]" title=' <%# Eval("Description") %>' >
                    <!-- <a href='PhotoGallery/Thumbs/<%# Eval("Image2FileName") %>' rel="lightbox[roadtrip]" > -->
                        <img alt="" width="140" src='PhotoGallery/Klienci/Thumbs/<%# Eval("Image1FileName") %>' border="0" 
                        style=" border: solid 2px Black;" />
                    </a>
                </td>

            </tr>
            <tr>
                <td colspan="2" valign="top" style="text-align:center">
                 <%# Eval("Name") %>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>
</td>
</tr>
</table>